Week 8: Electronic Output Devices

SPRINKLER
SYSTEM
PROJECT

DESIGN.

Sprinkler System:
This sprinkler system is an easy to build, scalable system made up of small hoses and drippers that can be placed inside pots to water both large and small plants. The system is to turn ON every 12 hours. Save time by not having to do this monotonous job yourself and ensure your plants are healthy!
The idea for the irrigation system is to have lines of small, discrete tubing going from pot to pot in your patio. At each pot, a T connector adds a juntion where a small piece of hosing sticks out with a dripper at the end that lets small amounts of water leak out and water plants. Add more hosing and Ts to accomadate all your plants.
Some electronics is needed to control when the system turns on and off. the hose is attached to a water supply (like a hose, it can be ted outside.) When the sprinkler system decides to turn on the valves are given the signal and allow water to pass through.

BILL OF MATERIALS.

Hydraulic components (top), electonics (bottom)
In order for the sprinkler system to turn ON/off automatically, the following components must be purchased:
  • Valve: Orbit 57280 3/4-Inch FPT Heavy-Duty In-line Sprinkler Valve (buy here).
  • 12V Solenoid Valve - 3/4" (buy here).
  • (a) Bitsy microcontroller
  • (b) Push botton
  • (c) FET
  • (d) Diode
  • (e) Resistors
  • 12 V power supply with adapter
  • Circuit (bread) board
While looking for parts to build the sprinkler system, we found a similar design to ours on Amazon. The bulk of the components come in this kit. From this kit, we used the following parts:
  • (A) 3/4’’ 2-Way Threaded Faucet Connector
  • (B) 2-Way Tubing Connector
  • (C) End Closure
  • (D) 1/4'' Barbed Tee Pipe Connector
  • (E) Pressure-compensating Dripper
  • (F) 1/4'' PVC Tube - 131ft

CODE.

Download Ardunio code HERE!
We programmed the valves to open automatically every 12 hours (or 43200000 ms). A push button is included so that the user can turn the sprinkler system ON or off whenever desired. Check out the GIF! If the device is ON and the button is pushed it will turn off. The opposite is also true.
A FET was used for every valve to act as a switch to allow higher voltages and current to pass through to the valve. The data sheet for the valve is available.
In the prototype (pictures to the right), no valves were used, LEDs are instead taking their place.

OUTPUT DEVICES OVERVIEW.

DC motor circuit
Playing around with a DC motor helped me understand comopnentents of this circuit better. For instance, incorporating flyback diodes to prevent spiking voltages that could ruin components in the circuit was something I got to investigate further. (Check these 2 reference 1 and 2 )

MORE IDEAS. POTENTIAL IMPROVEMENTS

Flow meters - Track how much water is being released. A more complex controller that includes a feedback loop can be integrated into the system to ensure the propoer amount of water is dispensed with every cycle. Include sensors - Sense if it is raining outside. If it is raining, then use an interrupt in the code to turn the sprinkler system off.

Go back to main page.